php-install Digest 4 Jul 2003 15:27:02 -0000 Issue 1448
Topics (messages 11210 through 11218):
php compilation
11210 by: Rajendra Kumar
Re: Addings extensions...
11211 by: Tam Pou Fai
11215 by: Andrej Snedic
11216 by: Cybot
Compiling MySQL Extension with Cygwin
11212 by: Robert Schmelzer
Re: new install of PEAR on 2k
11213 by: Cybot
11214 by: Cybot
How do I compiling MySQL Clients on Windows
11217 by: Seung Hwan Kang
Uninstalling PHP
11218 by: Yasir Malik
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hello List,
i want to run php nuke in redhat linux 9. earlier i
installed php on redhat 7.3 with configure option
--with-mysql --with-apxs and nuke is working fine.
but now i installed 9 i did same procedure but i am
getting error like path not found for apxs.
i am trying to find path for apxs but in redhat 9 i
am not able to find the location for apxs. i tryed to
search all the file system
find / -name apxs -print so no file display
there is no directory apache2 in /usr/local but i am
able to run my company website in apache server.
i am not sure where is the apache2 folder or did
they renamed apxs file in redhat 9 with different
name.?
how to compile php to work with nuke.
thanks,
Naren.
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
--- End Message ---
--- Begin Message ---
I have modified my php.ini in the way you mentioned, but I still can't load
the extentions.
Thanks.
--- End Message ---
--- Begin Message ---
Walter,
Thanks for your answer but like Tam said, I have added extensions path to my
include_path like you mentioned and I am still recieving the same error
message. Do you have any other ideas?
Thanks,
-Andrej
"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Andrej Snedic" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I am adding some extensions to PHP engine so I edited PHP.INI in
> c:\windows
> > directory this way:
> >
> > ...
> > extension_dir = "D:\Web\PHP\extensions"
> > ...
> > extension=php_some-extension.dll
> > ...
>
>
> Is your 'extensions' path also in your 'include_path'?
>
> This is from my INI file...
>
> include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
> ...
> extension_dir = "G:\etc\php\extensions"
>
> Walter
>
>
>
--- End Message ---
--- Begin Message ---
Andrej Snedic wrote:
I am adding some extensions to PHP engine so I edited PHP.INI in c:\windows
directory this way:
...
extension_dir = "D:\Web\PHP\extensions"
...
extension=php_some-extension.dll
...
The actrual complete path to my extension is:
D:\Web\PHP\extensions\php_some-extension.dll
But after rebooting my computer I always get this error message:
"Unknown(): Unable to load dynamic link library
'D:\Web\PHP\extensions\php_some-extension.dll' - The specified module could
not be found. [OK]"
So what's wrong? How shuld I set my extensions path?
I am running Apache 2.0.46 and PHP 4.3.2.2 on Windows XP.
could it be that php_some-extension.dll requires another dll that is not
in win win/system32 path? or just in any other way not accessable
--- End Message ---
--- Begin Message ---
Hello!
I want to complie the MySQL Extension as a dynamic loadable module with
Cygwin. Can anybody give me a short How-To or does anybody knows a resource,
where I can find a How-To ?
THX for help
Robert Schmelzer
--- End Message ---
--- Begin Message ---
Jswalter wrote:
I just installed PEAR on my Win2k box.
I try to use DB.php and I get this...
Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;c:\php4\pear')
I can't find this path defined *anywhere*.
It is *not* in my INI file...
include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
I don't have PHP installed there.
How can I "fix" this include path issue.
did you check the correct php.ini file? it must be in %SYSTEM%\php.ini
or for example c:\winnt\php.ini
with phpinfo() you can print out the location of your php.ini file
--- End Message ---
--- Begin Message ---
Jswalter wrote:
I just installed PEAR on my Win2k box.
I try to use DB.php and I get this...
Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;c:\php4\pear')
I can't find this path defined *anywhere*.
It is *not* in my INI file...
include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
I don't have PHP installed there.
How can I "fix" this include path issue.
onr more, your include-path is worng!
include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
would not work!!
correct
include_path = ".;G:\etc\php\extensions;G:\etc\php\pear"
--- End Message ---
--- Begin Message ---
Help!!!
I just installed PHP 5.0.0 Beta 1 with Apache on W2K SP4, and I also
read though the postings. The problem is that we have to use mysql
clients which comes with mysql to use PHP. I read following mysql docs,
and I don't have any clue, anyone?
-----------------------------------------------------------------------
2.6.2.6 Compiling MySQL Clients on Windows
In your source files, you should include `windows.h' before you include
`mysql.h':
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#endif
#include <mysql.h>
You can either link your code with the dynamic `libmysql.lib' library,
which is just a wrapper to load in `libmysql.dll' on demand, or link
with the static `mysqlclient.lib' library.
Note that as the mysqlclient libraries are compiled as threaded
libraries, you should also compile your code to be multi-threaded!
------------------------------------------------------------------------
PHP 5.0x installation on W2K (apache module)
Here is my prog. and conf.
php-5.0.0b1-Win32.zip
mysql-4.0.13-win.zip
apache_20.046-win32-x86-no_src.msi
1. edit httpd.conf
LoadModule php5_module C:\php\sapi\php4apache2.dll
#
# To use PHP scripts
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
2. copy c:\php\php4ts.dll to c:\winnt\system32
3. edit c:\winnt\php.ini
; Windows: "\path1;\path2"
include_path = ".;c:\php\dlls"
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\php\extensions\"
upload_tmp_dir = c:\tmp
session.save_path = c:\tmp
--- End Message ---
--- Begin Message ---
Hello,
I installed PHP following the directions on this webpage
http://us2.php.net/manual/en/install.unix.php
Now, I want to uninstall all the components. How do I do that? There is
no uninstall command in the makefile.
Thanks,
Yasir
--- End Message ---