Commit a3cd1ee1 authored by Chris's avatar Chris

mise en forme + maj install.sh concernant la compilation

parent 820fb4c8
#!/bin/bash
# compilation
cc -fpic -DCOMPILE_DL=1 -I/usr/include -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/php/main -I/usr/include/php -c -o smtp.o smtp.c
cc -shared -L/usr/local/lib -rdynamic -o mail_php.so smtp.o
cc -fpic -DCOMPILE_DL=1 -I/usr/include -I/usr/include/mysql -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/php/main -I/usr/include/php -c -o smtp.o smtp.c
cc -shared -L/usr/local/lib -rdynamic -L/usr/lib64/mysql -lmysqlclient -o mail_php.so smtp.o
# detect php.ini location dans $configFile
configFile="none";
......
/*********************************************************************************************************************************************************/
/* mail_php Teria module */
/* */
/* Compilation instructions : */
/* cc -fpic -DCOMPILE_DL=1 -I/usr/include -I/usr/include/mysql -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/php/main -I/usr/include/php -c -o smtp.o smtp.c */
/* cc -shared -L/usr/local/lib -rdynamic -L/usr/lib64/mysql -lmysqlclient -o mail_php.so smtp.o */
/* Declaration dans php.ini : */
/* mail_php.enable_mysql=1 */
/* mail_php.enable_sasl=1 */
/* mail_php.enable_headers=0 */
/* mail_php.smtp_server="none" */
/* mail_php.smtp_port="587" */
/* mail_php.smtp_helo="EHLO mail_php.teria.org" */
/* mail_php.smtp_auth="AUTH LOGIN" */
/* mail_php.mysql_server="passerelle.paris.ld" */
/* mail_php.mysql_login="root" */
/* mail_php.mysql_password="" */
/* mail_php.mysql_base="mail_php" */
/* mail_php.footer=0 */
/* mail_php.footerContent="Demo footer" */
/* mail_php.enable_ssl="0" */
/* mail_php.enable_debug="1" */
/* mail_php.date="0" */
/* extension=mail_php.so */
/*********************************************************************************************************************************************************/
/***************************************************************************************************/
/* mail_php Teria module */
/* */
/* Compilation instructions : */
/* cc -fpic -DCOMPILE_DL=1 -I/usr/include -I/usr/include/mysql -I/usr/include/php/Zend \ */
/* -I/usr/include/php/TSRM -I/usr/include/php/main -I/usr/include/php -c -o smtp.o smtp.c */
/* cc -shared -L/usr/local/lib -rdynamic -L/usr/lib64/mysql -lmysqlclient -o mail_php.so smtp.o */
/* Declaration dans php.ini : */
/* mail_php.enable_mysql=1 */
/* mail_php.enable_sasl=1 */
/* mail_php.enable_headers=0 */
/* mail_php.smtp_server="none" */
/* mail_php.smtp_port="587" */
/* mail_php.smtp_helo="EHLO mail_php.teria.org" */
/* mail_php.smtp_auth="AUTH LOGIN" */
/* mail_php.mysql_server="passerelle.paris.ld" */
/* mail_php.mysql_login="root" */
/* mail_php.mysql_password="" */
/* mail_php.mysql_base="mail_php" */
/* mail_php.footer=0 */
/* mail_php.footerContent="Demo footer" */
/* mail_php.enable_ssl="0" */
/* mail_php.enable_debug="1" */
/* mail_php.date="0" */
/* extension=mail_php.so */
/***************************************************************************************************/
/****************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment