Re: <Subject Info, Id etc>
am 11.03.2005 00:03:55 von Groves David
------=_NextPart_000_0002_01C525C5.71A41190
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all;
I think I've made it onto the list. I hope this subject is covered by
this list? Just restored from ghost and find Php will not run. Have done
the following:
I installed all the services from their zips to C:\, I used the php
without the installer whichever that one is?
Then change php.ini-dist [re-name] to php.ini and move to windows
folder.
Next move both:
a. php4ts.dll and
b. php4ts.LIB to windows system 32 folder. The book didn't say
anything about moving this file?
Next edit httpd config
Find LoadModule and add at end of file
LoadModule php4_module "C:/php-4.3.7-Win32/sapi/php4apache2.dll" It
seems its important to enclose the latter part in quotes [the book I
have didn't say this.
The find AddType, and, add the following
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps.
When I try a restart apache will not run. I checked the logs, and the
error log list the following:
Syntax error on line 173 of C:/Apache2/conf/httpd.conf:
Cannot load C:/php-4.3.7-Win32/sapi/php4apache2.dll into server: The
specified module could not be found.
Php4apache2.dll is exactly where I say it is, I don't understand the
syntax error either, this worked before the restore?
Can anyone please assist, as I'm just about to try and learn how to
build using MySql and Php..
Kind Regards
D.G
------=_NextPart_000_0002_01C525C5.71A41190--
Re: <Subject Info, Id etc>
am 11.03.2005 16:05:36 von SGreen
--=_alternative 00532D1285256FC1_=
Content-Type: text/plain; charset="US-ASCII"
"Groves David" wrote on 03/10/2005 06:03:55
PM:
> Hi all;
>
> I think I've made it onto the list. I hope this subject is covered by
> this list? Just restored from ghost and find Php will not run. Have done
> the following:
>
>
> I installed all the services from their zips to C:\, I used the php
> without the installer whichever that one is?
> Then change php.ini-dist [re-name] to php.ini and move to windows
> folder.
>
> Next move both:
> a. php4ts.dll and
> b. php4ts.LIB to windows system 32 folder. The book didn't say
> anything about moving this file?
>
>
> Next edit httpd config
>
> Find LoadModule and add at end of file
>
> LoadModule php4_module "C:/php-4.3.7-Win32/sapi/php4apache2.dll" It
> seems its important to enclose the latter part in quotes [the book I
> have didn't say this.
>
> The find AddType, and, add the following
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps.
>
>
> When I try a restart apache will not run. I checked the logs, and the
> error log list the following:
>
>
> Syntax error on line 173 of C:/Apache2/conf/httpd.conf:
> Cannot load C:/php-4.3.7-Win32/sapi/php4apache2.dll into server: The
> specified module could not be found.
>
> Php4apache2.dll is exactly where I say it is, I don't understand the
> syntax error either, this worked before the restore?
>
> Can anyone please assist, as I'm just about to try and learn how to
> build using MySql and Php..
>
>
> Kind Regards
>
> D.G
>
David,
With kindest respect, I think you sent this message to the wrong list. I
think you wanted the PHP list just two doors over. Somebody on this list
MAY offer some assistance but your issues do not seem to be directly
related to the MySQL database (not as far as I can tell). MySQL and PHP
are totally separate product that work very well together. You may want to
check the PHP archives and search under Google Groups, too. Sometimes you
luck out and find that you aren't the first person to have your particular
problem and a suggested solution or two already exists.
If you run into problems learning or using MySQL, please DO come back.
That's why we are here.
Best of luck!
Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine
--=_alternative 00532D1285256FC1_=--