Re: [PHP-INSTALL] Saving changes in php.ini not working

2006-09-22 Thread zerof

Bob Buttafuso escreveu:
Sorry. I meant to say when I checked the php.ini after making the change 
that it is "ON", not off!

-
Any modifications on php.ini must be made with Apache 2.x.x Stoped.
Stop Apache and Start newly. Your php.ini will be ok.
-
zerof


[PHP-INSTALL] Re: php is not found by apache

2006-12-07 Thread zerof

Jack Godkin escreveu:
php is not found by apache, i have installed mysql,apache, and php in an 
xp environment both mysql and apache work fine but apache and windows do 
not seem to recognise the php extension. i have made the following 
changes to php.ini


where did i go wrong ???
ps i also uninstalled and re-installed mysql,apache and php several times.


---
http://www.educar.pro.br/compl/apache2/
-
zerof


[PHP-INSTALL] Re: php is not found by apache

2006-12-07 Thread zerof

Jack Godkin escreveu:
php is not found by apache, i have installed mysql,apache, and php in an 
xp environment both mysql and apache work fine but apache and windows do 
not seem to recognise the php extension. i have made the following 
changes to php.ini


redirected the extension directory from  extension_dir ="./" to the 
extension_dir where php can be found. I also enabled the extension=mysql


i transfered the libmysql.dll to C:\WINDOWS\system32\

in apachie the following was added by php installation wizerd :

#


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Program Files\PHP\"
LoadModule php5_module "C:\Program Files\PHP\php5apache2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

where did i go wrong ???

ps i also uninstalled and re-installed mysql,apache and php several times.


-
http://www.educar.pro.br/compl/php5/
http://www.educar.pro.br/compl/apache2/
-
zerof


[PHP-INSTALL] Re: php is not found by apache

2006-12-07 Thread zerof

Jack Godkin escreveu:
php is not found by apache, i have installed mysql,apache, and php in an 
xp environment both mysql and apache work fine but apache and windows do 
not seem to recognise the php extension. i have made the following 
changes to php.ini


redirected the extension directory from  extension_dir ="./" to the 
extension_dir where php can be found. I also enabled the extension=mysql


i transfered the libmysql.dll to C:\WINDOWS\system32\

in apachie the following was added by php installation wizerd :

#


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Program Files\PHP\"
LoadModule php5_module "C:\Program Files\PHP\php5apache2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

where did i go wrong ???

ps i also uninstalled and re-installed mysql,apache and php several times.


-
http://www.educar.pro.br/compl/php5/
http://www.educar.pro.br/compl/apache2/
-
zerof


[PHP-INSTALL] Re: Where is phpize?

2007-01-05 Thread zerof

Teruhiko Kurosaka escreveu:

I downloaded and installed the prebuilt
Windows binary package php-5.2.0-Win32.zip.
But I cannot find phpize command that I assume
I'd need to develop an extension.

Is there a prebuilt phpize that is compatible
with php-5.2.0-Win32.zip ?
 

http://br2.php.net/manual/en/install.pecl.phpize.php

--
--
zerof
prof José Roberto Fernandes
http://www.educar.pro.br/
Apache - PHP - MySQL - Lógica Booleana
--


[PHP-INSTALL] Re: Apache and PHP wont work

2007-02-11 Thread zerof

redhat penguin escreveu:

hi,

Can somoene please tell why when i try and include the following text to 
apches conf. to load the php modules Apache then doesnt want to start?


# PHP5
LoadModule php5_module "D:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# Path to php.ini
PHPIniDir "D:/php"

In my logs i get: httpd.exe: Syntax error on line 475 of 
D:/Apache2.2/conf/httpd.conf: Cannot load D:/php/php5apache2.dll into 
server: The specified module could not be found.
I dont understand WHY is it saying this because php5apache2.dll is in 
d:/php dir.


Any suggestions?
Thanks

--
# PHP5
LoadModule php5_module "D:/php/php5apache2_2.dll"

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--


[PHP-INSTALL] Re: Problem for run php

2007-06-19 Thread zerof

Ganesh Kumar escreveu:

hello,
 
i'm working with windows xp, php-5.2.3-win32 version, 
apache_2.2.4-win32-x86-no_ssl and mysql-5.0.37-win32. i'm new to php, 
apache.
 
i configured all things, (refered by net tutorials) but still i cant run 
the php. whenever i compiling the php, the code displayed, not the output.
 
 but the apache server is running and also the apache monitor displays 
"Apache/2.2.4 (win32) Php/5.2.3" but it never produced the output.
 
please help me how to solve the problem as soon as possible.
 
coz my project is going on.
 
i will expect ur reply.

.

If you had installed as individualy components, look at this tutorial
( non-traditional install ) that can help you:
http://www.educar.pro.br/en/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--


[PHP-INSTALL] Re: I cant get php to work on apache 2.2 windows xp

2008-02-13 Thread zerof

Mark escreveu:

Hi,

Im trying to set up php for the first time on Apache 2.2/windows XP.
I have downloaded and installed Apache. It all works fine and the index page 
shows up.


I have downloaded the latest PHP version from php.net and it appears to be 
installed properly.

php -v from the command line works.

I have ran into what appears to be a classic problem.
When I create the phpinfo.php page in my document root and try to browse it 
I just get a blank page.

Apache is not passing the page along to PHP.

I checked and double checked my httpd.conf file against how to examples on 
the internet.


It has the follow extra lines in it.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

AddType application/x-httpd-php3 .php3   # for PHP 3
AddType application/x-httpd-php .php .html# for PHP 4

Can anybody help me out ?
Is there a good way on can debug Apache/PHP and see where the process is 
failing.


Thanks,

Mark.

Take a look on the procedure described here:

http://www.educar.pro.br/en/b/apache2x/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--


[PHP-INSTALL] Re: I cant get php_gd.dll to work

2008-03-22 Thread zerof

Mark escreveu:

Hi,

Im new to php and i cant get the gd graphics library to work.
Im running Apache, Mysql, Windows xp

I downloaded and installed php from php.net.

..
If you are new to php, (image functions) you must see:

http://www.educar.pro.br/i_en/php/gd/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--


[PHP-INSTALL] Re: PHP and MySQL Installation

2008-06-20 Thread zerof

Tommy Peterson escreveu:
I have installed Apache 2.2 and PHP 5.0.1 on Windows and am trying to 
get MySQL 5.0 installed with them. However, I can't seem to get it 
working. I keep getting the *Fatal error*: Call to undefined function 
mysql_connect() in *C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\processex.php* on line *15 error *when I try 
to connect to my MySQL database from a PHP script, even though I can 
connect directly to MySQL with an MS-DOS prompt.


I did the following:
1) Installed Apache, PHP, and MySQL
2) Ensure that I can run a PHP with built-in functions and display it in 
my browser with Apache serving it up.

3) Log into MySQL and create a database.
4) Located the extensions path my php.ini file and ensured that my .dlls 
were in it
5) Located the mysql extension statements in the php.ini file and 
uncommented them (removed the semicolon before each of them)

6) Restarted the server
7) Even restarted my computer.

I got the same error. I looked at the phpinfo() and 
get_loaded_extensions() function output not seeing mysql installed.


Then I did what the documentation in several places on the internet said 
to do:
I deleted all the libmysql.dll and php_mysql.dll files except the ones 
in the php directory and then copied them to the windows/system32 
directory and restarted my computer. I still get the same error message. 
Still do not see mysql installed with the phpinfo() or 
get_loaded_extensions().


I then did the following, which is what another user suggested:
Download the PHP zip distribution and copy the .dlls out of that into my 
php directory that the installer installed. No luck. I still get the 
same error message.Still do not see mysql installed with the phpinfo() 
or get_loaded_extensions().


I also tried to load php_mysql.dll with the dl() function but no luck as 
I am using a multi-threaded server.


Someone on the internet said to try deleting the php_mysql.dll and 
libmysql.dll and using the ones from MySQL. I just checked and mysql is 
only offering mysqli and a replacement for libmysql which I do not want 
to get into just yet.


I have even added the mysql/bin and php directories to my system path. 
Restrated. No luck.


I can get this installed (WAMP) and working if I use, for example, 
xampp. However, I want to install these and set them up myself.


Can someone help me out here?


-
http://www.educar.pro.br/i_en/php/v5/
http://www.educar.pro.br/i_en/apache/v22/
http://www.educar.pro.br/i_en/mysql/v50/


--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--