Part 2, php and setting up Apache2
Create test.php:
Test with localhost/test.php.
Does not work. At this point I simply edit my /etc/httpd/httpd.conf file, after backing it up, of course.
My first item is to clean out all the comments. Since most of the work I do now is by an ssh shell (too many computers, not enough monitors) I can have one session open for editing and another session open for reading the comments, looking at man pages, etc. I also have a browser open pointing to my slackware box at http://192.168.0.2/manual.
The cause of the above error code can be found in the httpd.conf file, notibly:
Removing the # from the above Include line, *AND* /etc/rc.d/rc.httpd restart gets me my phpinfo.
========================================
At this point I decided to bump back to
slackware 12.1. Their are somethings I
want to do with Gnome SlackBuild. Once
GSB is out I will most likely revisit
Slackware 12.2
Code:
<?php phpinfo(); ?>
Does not work. At this point I simply edit my /etc/httpd/httpd.conf file, after backing it up, of course.
My first item is to clean out all the comments. Since most of the work I do now is by an ssh shell (too many computers, not enough monitors) I can have one session open for editing and another session open for reading the comments, looking at man pages, etc. I also have a browser open pointing to my slackware box at http://192.168.0.2/manual.
The cause of the above error code can be found in the httpd.conf file, notibly:
Code:
# Uncomment the following line to enable PHP: # #Include /etc/httpd/mod_php.conf
========================================
At this point I decided to bump back to
slackware 12.1. Their are somethings I
want to do with Gnome SlackBuild. Once
GSB is out I will most likely revisit
Slackware 12.2
Total Comments 0