Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Web Hosting EKS - PHP 8.4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OTDI Web Hosting
Container Images
Web Hosting EKS - PHP 8.4
Commits
ef4fbaf1
Commit
ef4fbaf1
authored
1 year ago
by
Edward Hicks
Browse files
Options
Downloads
Patches
Plain Diff
replace php.ini with prod default & move customizations to an ini file
parent
590aeba6
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
usr/local/etc/php/conf.d/03_osuwebhosting.ini
+17
-0
17 additions, 0 deletions
usr/local/etc/php/conf.d/03_osuwebhosting.ini
usr/local/etc/php/php.ini
+0
-1956
0 additions, 1956 deletions
usr/local/etc/php/php.ini
with
18 additions
and
1957 deletions
Dockerfile
+
1
−
1
View file @
ef4fbaf1
...
...
@@ -61,7 +61,7 @@ RUN tar Jxf php-8.3.*.tar.xz && \
CORECOUNT
=
$(
cat
/proc/cpuinfo|egrep
'^processor'
|wc
-l
)
\
nice
make
-j
$((
$CORECOUNT
+
1
))
&&
make
install
&&
\
cp
-v
php.ini-
*
/usr/local/etc/php/
RUN
cp
-
v
/usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
RUN
ln
-
s
/usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
COPY
usr/local/etc/php/conf.d/01_base_modules.ini /usr/local/etc/php/conf.d/
# Build & install PECL modules
...
...
This diff is collapsed.
Click to expand it.
usr/local/etc/php/conf.d/03_osuwebhosting.ini
+
17
−
0
View file @
ef4fbaf1
...
...
@@ -13,6 +13,7 @@ log_errors = on
error_reporting
=
E_ALL & ~E_NOTICE & ~E_STRICT
error_log
=
"/var/log/httpd/php_error_log"
variables_order
=
"EGPCS"
sendmail_from
=
webmaster@osu.edu
[soap]
soap.wsdl_cache_dir
=
"/var/www/sharedtmp"
...
...
@@ -23,10 +24,24 @@ session.cookie_lifetime = 600
session.gc_maxlifetime
=
28800
url_rewriter.tags
=
"a=href,area=href,frame=src,input=src,form=fakeentry"
[MySQL]
mysql.max_persistent
=
5
mysql.max_links
=
250
mysql.default_host
=
webdb1.service.ohio-state.edu
[MySQLi]
mysqli.max_persistent
=
5
mysqli.max_links
=
250
mysqli.default_host
=
webdb1.service.ohio-state.edu
[PostgreSQL]
pgsql.max_persistent
=
5
pgsql.max_links
=
250
[MSSQL]
mssql.max_persistent
=
5
mssql.max_links
=
250
; APC compatibility support
[apc]
apc.enabled
=
1
...
...
@@ -78,6 +93,8 @@ memcached.store_retry_count = 2
; Zend OpCache
[opcache]
opcache.enable
=
1
opcache.enable_cli
=
0
opcache.memory_consumption
=
256
opcache.interned_strings_buffer
=
32
opcache.max_accelerated_files
=
20000
...
...
This diff is collapsed.
Click to expand it.
usr/local/etc/php/php.ini
deleted
100644 → 0
+
0
−
1956
View file @
590aeba6
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment