-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure to read the correct php configuraion file, noticed by ajaco…
…utot@
- Loading branch information
Showing
9 changed files
with
46 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$OpenBSD: patch-main_php_ini_c,v 1.1 2011/07/14 12:40:48 robert Exp $ | ||
--- main/php_ini.c.orig.port Thu Jul 14 13:33:12 2011 | ||
+++ main/php_ini.c Thu Jul 14 13:07:26 2011 | ||
@@ -489,7 +489,7 @@ int php_init_config(TSRMLS_D) | ||
|
||
/* If still no ini file found, search for php.ini file in search path */ | ||
if (!fh.handle.fp) { | ||
- fh.handle.fp = php_fopen_with_path("php.ini", "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC); | ||
+ fh.handle.fp = php_fopen_with_path("php-${PV}.ini", "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC); | ||
if (fh.handle.fp) { | ||
fh.filename = php_ini_opened_path; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$OpenBSD: patch-main_php_ini_c,v 1.1 2011/07/14 12:40:48 robert Exp $ | ||
--- main/php_ini.c.orig.port Thu Jul 14 13:33:12 2011 | ||
+++ main/php_ini.c Thu Jul 14 13:07:26 2011 | ||
@@ -489,7 +489,7 @@ int php_init_config(TSRMLS_D) | ||
|
||
/* If still no ini file found, search for php.ini file in search path */ | ||
if (!fh.handle.fp) { | ||
- fh.handle.fp = php_fopen_with_path("php.ini", "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC); | ||
+ fh.handle.fp = php_fopen_with_path("php-${PV}.ini", "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC); | ||
if (fh.handle.fp) { | ||
fh.filename = php_ini_opened_path; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
To enable the php-${PV} module please create a symbolic | ||
link from ${PHP_CONFIG_PATH}/modules.sample/php-${PV}.conf | ||
to ${PHP_CONFIG_PATH}/modules/php-${PV}.conf. | ||
link from ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf | ||
to ${MODPHP_CONFIG_PATH}/modules/php-${PV}.conf. | ||
|
||
ln -s ${PHP_CONFIG_PATH}/modules.sample/php-${PV}.conf \ | ||
${PHP_CONFIG_PATH}/modules/php.conf | ||
ln -s ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf \ | ||
${MODPHP_CONFIG_PATH}/modules/php.conf | ||
|
||
The recommended php configuration has been installed | ||
to ${SYSCONFDIR}/php-${PV}.ini. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
To completely deinstall the package you need to | ||
remove the symbolic link from ${PHP_CONFIG_PATH}/modules | ||
remove the symbolic link from ${MODPHP_CONFIG_PATH}/modules | ||
by performing the following step as root: | ||
|
||
rm -rf ${PHP_CONFIG_PATH}/modules/php.conf | ||
rm -rf ${MODPHP_CONFIG_PATH}/modules/php.conf |