Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Apache & PHP Installation Help!

Asked Modified Viewed 5,743 times
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Member

FedoraCore5 Apache2 PHP5

So I've been playing around with Apache and managed to get it working but as soon as i added to httpd.conf:

Quote

AddType application/x-httpd-php
LoadModule php5_module modules/libphp5.so


I cannot restart apache getting this error:

Quote

Syntax error on line 311 of /www/conf/httpd.conf:
Cannot load /www/modules/libphp5.so into server: /www/modules/libphp5.so: cannot open shared object file: No such file or directory


Please Help!!!
0 replies

24 posts

R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Ok, i got it working now.

I just empitied the folder /var/www/html and it begins to work, getting its pages from /usr/local/apache2/htdocs instead and php files work there.

:D

0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Ok, i'm not sure what could be causing this but it seems php only works locally. On my linux machine i can enter http://192.168.0.2/phpinfo.php and it works as it should yet when accessing it from another pc i enter in the same address an i get the script as seen in the image above.

Any ideas on how i can access php from my windows pc?
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Ok well have no idea what i did but it's all working fine now.
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 24 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

D
D
donmcg 10
  • Member, joined since
  • Contributed 54 posts on the community forums.
W
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
R
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
B
B
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet