PHP doesn't run on Red Hat 9 system
Date: Sun, 23 Nov 2003 17:27:25 -0800
I'm trying to get PHP running on my RH9 system, but can't seem to get it
to work. My test php program results in a blank browser screen (though
I can see the source),and it runs fine on at a 'hosted' site using RH.
I understand that PHP should work without having to compile source
code. Is there anything else I need to configure ?
Basically I installed the RPM's, added types to httpd.conf and restarted
I added the following in /etc/httpd/conf/httpd.conf
AddType application/x-httpd-php .php .php3 .php4 .shtml .phtml
AddType application/x-httpd-php-source .phps
Here are the RPM's that are installed:
[root@srv root]# rpm -qa | grep php
[root@srv root]# rpm -qa | grep httpd
[root@srv root]# httpd -l
Compiled in modules:
Test PHP script in /var/www/html/temp.php
* Print Info
Again, what else do I need to do in order to get PHP running under RH9 &
Apache 2 (other than uninstalling RPM's and complining everything from
Thanks. Scott sjsherratt@REMOVE_THIS@yahoo.com
- Re: Site root question: Newbie
... That was a variable that only sits in front of all of the site includes, all of the root-relative links in the site are still looking at http://www.site.com/ as the root rather than http://www.site.com/client/dev/2006/. ... and that is the root folder. ... In all of the PHP sites I've seen there are always a couple of folder levels outside the web site root and these seem to contain necessary php files like pear, and setting root-relative links, especially with include files, can be a real pain, in my limited experience. ... For security reasons you may not want it to be possible for someone outside the server to execute some scripts, those you place outside the root for the website, this way no one can use an url and try to run a script. ...
- RE: Linux hacked
... Was any of the sites running a php nuke or another portal or system that is vuln ... been able to use that with a locla root exploit to gain root on the machine. ... > hack the box, pull the drive and save it. ... > Use the newest versions of Gentoo, Apache, SSH, PHP and Squirl Mail. ...
- Re: include_path related issue
... The actual path of the root dir of my account with hosting provider ... I can specify additional subdomains in the control panel of my account. ... The .htaccess file in httpdocs is similar to the one in my master domain. ... PHP recognizes the include_path setting properly, ...
- Re: idiot question about chown
... > I want to chown htdocs. ... I want htdocs to belong to the same user as ... Apparently PHP is running as root. ...
- Re: Starting mysql and sendmail [solved]
... > The root user is already installed, it just has no password set. ... > Better avoid using PHP's mailfunction. ... > around typical problem when trying to create valid mails from PHP. ... I guess I just needed Alexander ...