Re: PHP & Apache install - help needed?

From: Tony Gahlinger (tgahling_at_ieeeREMOVECAPS.org)
Date: 04/04/04


Date: Sun, 04 Apr 2004 16:35:30 GMT

Dado wrote:
> I have Apache 1.3.28 and PHP 4.3.3. installated on my computer (Win XP).
> I've copyed the PHP dll's into System32, placed php.ini into win root
> (C:\windows) and in C:\Apache, changed the doc_root in php.ini and
> document_root in httpd conf file - php LoadModule, AddModule & AddType are
> added at the bottom of the document. Every thing has been checked five
> times.
>
> I've created a small script, named it test.php and saved it to a doc_root
> directory. When I start it with Internet Explorer I get a blank screen and
> in source I can see the php code!! I am using the <?php ?> tag!!
>
> Why doesn't it work?? Please help. Thanks in advance.

It might help for us to see the code for test.php.

--Tony



Relevant Pages

  • PHP & Apache install - help needed?
    ... I have Apache 1.3.28 and PHP 4.3.3. ... I've copyed the PHP dll's into System32, placed php.ini into win root ...
    (alt.php)
  • 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. ...
    (alt.php)
  • 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. ...
    (Security-Basics)
  • 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, ...
    (comp.lang.php)
  • 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. ...
    (alt.linux)