Skip to main content
Inspiring
August 22, 2007
Question

PHP question

  • August 22, 2007
  • 8 replies
  • 432 views
I am working thru David Powers Foundation PHP for DW8. I have the apache
server working and finally got the PHP info page to display in the browser
(not a small fete for me). Reading the checking your php configuration
section...my configuration file path is C:\WINDOWS which I am assuming is
incorrect. My php file is locate on C (not in the programs file, just on
drive C). I am not sure what to delete to get the file to configure
correctly. Could someone smarter than me please advise?


This topic has been closed for replies.

8 replies

Inspiring
August 23, 2007
Thanks. I did that and I now have a loaded configuration file.
"David Powers" <david@example.com> wrote in message
news:fakatc$bp2$1@forums.macromedia.com...
> KJones wrote:
>> Prior to finding your book, I was trying to learn php on line. I did have
>> wamps installed. I uninstalled and deleted all the folders. Did I mess
>> something up with that?
>
> Yes, I think that's your answer. Trying to hunt down the problem will be
> like looking for a needle in a haystack. Your best option is probably to
> copy php.ini to the C:\WINDOWS folder and restart your computer.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
> Author, "PHP Solutions" (friends of ED)
> http://foundationphp.com/


Inspiring
August 23, 2007
KJones wrote:
> Prior to finding your book, I was trying to learn php on line. I did have
> wamps installed. I uninstalled and deleted all the folders. Did I mess
> something up with that?

Yes, I think that's your answer. Trying to hunt down the problem will be
like looking for a needle in a haystack. Your best option is probably to
copy php.ini to the C:\WINDOWS folder and restart your computer.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Inspiring
August 22, 2007
This is what comes up with cmd - Path=
C:\Windows\system32;C;\Windows\System32\Wbem;C:\Programs Files\Common
Files\Adobe\AGL;C:\php5.

Prior to finding your book, I was trying to learn php on line. I did have
wamps installed. I uninstalled and deleted all the folders. Did I mess
something up with that?

"David Powers" <david@example.com> wrote in message
news:fahun8$iij$1@forums.macromedia.com...
> KJones wrote:
>> I used the zip file. I wasn't sure if the php5 folder should go in the
>> programs folder-I didn't put it there. It is just on C.
>
> Putting the php5 folder at the top level of the C drive is fine. If
> phpinfo() says that no configuration file has been loaded, it almost
> certainly means you have made a mistake in setting the path and PHPRC (see
> pages 65-66). A quick way to check the path is to open a Windows command
> prompt (Start > Run > cmd), and type path followed by Enter. See if
> C:\php5 is listed. You will need to restart your computer after making any
> changes.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
> Author, "PHP Solutions" (friends of ED)
> http://foundationphp.com/


Inspiring
August 22, 2007
KJones wrote:
> I used the zip file. I wasn't sure if the php5 folder should go in the
> programs folder-I didn't put it there. It is just on C.

Putting the php5 folder at the top level of the C drive is fine. If
phpinfo() says that no configuration file has been loaded, it almost
certainly means you have made a mistake in setting the path and PHPRC
(see pages 65-66). A quick way to check the path is to open a Windows
command prompt (Start > Run > cmd), and type path followed by Enter. See
if C:\php5 is listed. You will need to restart your computer after
making any changes.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Inspiring
August 22, 2007
I used the zip file. I wasn't sure if the php5 folder should go in the
programs folder-I didn't put it there. It is just on C.

"David Powers" <david@example.com> wrote in message
news:fahr86$efa$1@forums.macromedia.com...
> KJones wrote:
>> It says none
>
> How did you install PHP? Using the zip file or the Windows installer? Did
> you check the book's updates and corrections page. It has a link to
> detailed instructions on my website for using the Windows installer.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
> Author, "PHP Solutions" (friends of ED)
> http://foundationphp.com/


Inspiring
August 22, 2007
KJones wrote:
> It says none

How did you install PHP? Using the zip file or the Windows installer?
Did you check the book's updates and corrections page. It has a link to
detailed instructions on my website for using the Windows installer.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Inspiring
August 22, 2007
It says none
"David Powers" <david@example.com> wrote in message
news:faho3r$bei$1@forums.macromedia.com...
> KJones wrote:
>> my configuration file path is C:\WINDOWS which I am assuming is
>> incorrect.
>
> Which version of PHP? PHP 5.2.3 has a new line beneath that, which is
> labelled "Loaded Configuration File". What does that say?
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
> Author, "PHP Solutions" (friends of ED)
> http://foundationphp.com/


Inspiring
August 22, 2007
KJones wrote:
> my configuration file path is C:\WINDOWS which I am assuming is
> incorrect.

Which version of PHP? PHP 5.2.3 has a new line beneath that, which is
labelled "Loaded Configuration File". What does that say?

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/