php-install Digest 26 Jan 2003 03:28:51 -0000 Issue 1219
Topics (messages 9841 through 9846):
libphp4.la
9841 by: Gareth Slaven
RedHat 7.3 Modular and Customizable PHP RPM's.
9842 by: Lukasz Karapuda
9843 by: Lukasz Karapuda
Re: Config php4.3, httpd 2.044, mysql3.2355
9844 by: Sir Robert Bair
1st time setup
9845 by: Rob - Webmaster of Designisle
data transfer
9846 by: Ying Shen
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 ---
Hi there ..
When I try install php-4.0.6 I get the following error anyone got any ideas
.. I have no idea what is wrong and no one seems to know
how to solve it ... I have tried searching for the error online and it's a
no go ...
Config
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --enable-ftp
--with-zlib-dir=/usr/local/include/ --with-zlib --with-gd
--with-png-dir=/usr/local/include/libpng --with-jpeg-dir=/usr/include/
--with-ttf --enable-gd-native-tt --with-freetype-dir=/usr/local
After Make I get :
xml.la TSRM/libtsrm.la -ldl -lmysqlclient -lz -lgd -lfreetype -lpng -lz
-ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6'
make: *** [all-recursive] Error 1
Regards
Gareth Slaven ([EMAIL PROTECTED])
Managing Director
ENVENT - Digital Innovation
Tel: +27 11 787-7666 / +27 83 6499944
Website: http://www.envent.co.za
__________________________________________
The Ensight Experience - Know More, Sell More!
-> Publishing
-> Profiling
-> Personalization
-> Communication
__________________________________________
This is a confidential message for the named person's use only. It may
contain confidential, proprietary or legally privileged information. If you
receive this message in error please notify the sender and immediately
delete the message. You must not, directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. All views expressed in this message are those of the
individual sender and do not necessarily reflect those of Envent Holdings
(Pty) Ltd.
--- End Message ---
--- Begin Message ---
Hello.
Lately I have been having certain thoughts about the use of PHP RPM's for
RedHat 7.3.
As you all know the default set of PHP rpm's for RH 7.3 available via RHN is
composed of the following modules:
-----------------------
php-4.1.2-7.3.6
php-dbg-4.1.2-7
php-devel-4.1.2-7.3.6
php-imap-4.1.2-7.3.6
php-ldap-4.1.2-7.3.6
php-manual-4.1.2-7.3.6
php-mysql-4.1.2-7.3.6
php-odbc-4.1.2-7.3.6
php-pgsql-4.1.2-7.3.6
php-snmp-4.1.2-7.3.6
------------------------
At the same time certain PHP extensions are not compiled in and or NOT
available as seperate RPM on RHN (eg. DOMXML, EXIF, JPEG).
Personally I require many of the PHP extensions, which are not part of the
default RPM compilation.
Therefore I see 2 options:
1. Compile PHP by myself, with the necessary extensions.
(creates problems, because of the fact that many of the extensions are
dependent upon different versions of libaries, than the ones available on
RHN )
2. Find a source for modular PHP RPM's (i.e. different RPM's for different
compile options).
So far I have found one (does not offer the most recent PHP version):
______________________________
Lukasz Karapuda
developer -- newline Creations LLC.
@ [EMAIL PROTECTED]
Y! lukaszkarapuda
--- End Message ---
--- Begin Message ---
Continuing unfinished post: :-)
Modular RPM packages:
http://rpms.arvin.dk/php/rh72/i686/
I am asking someone knowledgable for advice, what is the best way to install
modularized and customized configurations of PHP on RedHat 7.3.
Cheers,
______________________________
Lukasz Karapuda
developer -- newline Creations LLC.
@ [EMAIL PROTECTED]
Y! lukaszkarapuda
"Lukasz Karapuda" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello.
>
> Lately I have been having certain thoughts about the use of PHP RPM's for
> RedHat 7.3.
> As you all know the default set of PHP rpm's for RH 7.3 available via RHN
is
> composed of the following modules:
> -----------------------
> php-4.1.2-7.3.6
> php-dbg-4.1.2-7
> php-devel-4.1.2-7.3.6
> php-imap-4.1.2-7.3.6
> php-ldap-4.1.2-7.3.6
> php-manual-4.1.2-7.3.6
> php-mysql-4.1.2-7.3.6
> php-odbc-4.1.2-7.3.6
> php-pgsql-4.1.2-7.3.6
> php-snmp-4.1.2-7.3.6
> ------------------------
>
> At the same time certain PHP extensions are not compiled in and or NOT
> available as seperate RPM on RHN (eg. DOMXML, EXIF, JPEG).
>
> Personally I require many of the PHP extensions, which are not part of the
> default RPM compilation.
> Therefore I see 2 options:
> 1. Compile PHP by myself, with the necessary extensions.
> (creates problems, because of the fact that many of the extensions are
> dependent upon different versions of libaries, than the ones available on
> RHN )
> 2. Find a source for modular PHP RPM's (i.e. different RPM's for different
> compile options).
> So far I have found one (does not offer the most recent PHP version):
>
>
>
>
>
>
>
> ______________________________
> Lukasz Karapuda
> developer -- newline Creations LLC.
> @ [EMAIL PROTECTED]
> Y! lukaszkarapuda
>
>
--- End Message ---
--- Begin Message ---
Hello
I have apache2 running with module support. (enable-module=so at
config)
I also have the latest mysql running.
This is on a Mandrake 9.x box
I am trying to get php compiled and installed, but it keeps barfing at
the config step.
I have been RTFM and searching the FAQs to no avail. I need some help
please.
You can see my config syntax below, just as the instructions state. But
it barfs whilst looking for a lex output.
I can locate 'lex' in an ocaml directory I downloaded. I do not think I
have compiled any of the OCaml parts. In fact, I am unsure what lex and
ocaml are.
Should I find a 'lex' installer out there?
Should I find a PHP.rpm?
Does the rmp install the silly little apache modules in the right place?
Thanks in advance for your help and ideas of what to try next. Feel
free to mail me directly: rob dot bair at covad dot net
Rob
[root@Mandrake php-4.3.0]# ./configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the
PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2482: lex: command
not found
configure: error: cannot find output from lex; giving up
--- End Message ---
--- Begin Message ---
I am setting up php for the 1st time on a new server.
win2k with all available service packs
iis5
I downloaded and installed the PHP 4.3.0 installer [1,028Kb] - 27 December
2002
I installed it with my with iis turned off as directed.
install directory C:\PHP
on install I get an error : due to missing OCX control on your system, the
installation wizard is unable to configure your webserver. However, PHP has
been installed and all you need to do now is manually configure the web
server as described in the install.txt which can be found in your ph install
directory.
then I get an ok button
then I get a PHP 4.30 has been successfully installed
press ok to exit the installation
NT users may need to set appropriate permissions for the various php files
and directories
Usually IUSR_MachineName will need read write access to the uploadtmp and
the session directories, and execute access for php.exe and php4ts.dll
I then followed the install .txt instructions as best I could.
Please advise
Rob
--- End Message ---
--- Begin Message ---
sorry to bother you.
I am a new learner of PHP.
I want to just simply transfer a data to next PHP script by using this: <a
href=\"editing.php3?idx=34&user=$user&last=$last&text=$text\">$idx</a>
But in editing.php3, I used this: <td>idx:</td><td><?php echo
"$idx";?></td>. Then just no data for $idx.
I copied whole script from somewhere so the script should be no problem.
I think it may be relevant to my PHP installation. Because I saw I need to
set extension_dir to the fold of php3_*.dlls. But in my php folder, I don't
have these files. Why? should I download and where?
thank you!
Ying
--- End Message ---