I’m having problems with the date picker when I attempt to select a date before 1900 - it reverts to Jan 1, 1970.
This is working on a my beta server, but not on the live server, so I expect it’s a PHP configuration problem, or maybe it’s missing a module. Unfortunately, the client’s hosting account is with GoDaddy, and the only config settings seem to be choosing between PHP 5.3 and 5.4.
Here’s the main PHP Info for each:
beta (working):
PHP Version 5.6.16
System Linux serv01.siteground212.com 3.12.18-clouder0 #1 SMP Wed Dec 9 10:11:24 EET 2015 x86_64
Build Date Nov 26 2015 14:43:30
Configure Command './configure' '--prefix=/usr/local/php56' '--mandir=/usr/man' '--with-config-file-path=/usr/local/php56/lib' '--with-config-file-scan-dir=/usr/local/php56/etc' '--with-pear=/usr/local/php56/pear' '--with-iconv' '--disable-ipv6' '--with-openssl=/usr/local/openssl' '--with-zlib' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl' '--with-db4' '--with-dbm' '--with-enchant' '--with-curlwrappers' '--enable-exif' '--enable-ftp' '--with-kerberos' '--enable-intl' '--with-pcre-regex' '--with-libdir=lib64' '--with-gd' '--with-pspell' '--with-libedit' '--with-readline' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--with-xpm-dir' '--with-freetype-dir' '--with-t1lib' '--enable-gd-native-ttf' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-ldap' '--with-ldap-sasl' '--enable-mbstring' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--disable-mysqlnd' '--with-icu-dir=/usr/local/icu4c' '--with-mysqli=/usr/bin/mysql_config' '--enable-pcntl' '--enable-sysvmsg' '--enable-sysvsem' '--with-pdo-mysql=/usr' '--with-pdo-pgsql' '--with-pgsql' '--enable-shmop' '--with-snmp=shared' '--enable-soap' '--with-tidy' '--enable-sockets' '--enable-wddx' '--with-xmlrpc' '--with-xsl=/usr/local/libxslt' '--with-libxml-dir=/usr/local/libxml2' '--enable-opcache' '--enable-zip'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/php56/lib
Loaded Configuration File /usr/local/php56/lib/php.ini
Scan this dir for additional .ini files /usr/local/php56/etc
Additional .ini files parsed /usr/local/php56/etc/extensions.ini, /usr/local/php56/etc/limits.ini
PHP API 20131106
PHP Extension 20131226
Zend Extension 220131226
Zend Extension Build API220131226,NTS
PHP Extension Build API20131226,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support disabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
**live (not working):**
PHP Version 5.4.19
System Linux p3nlhg1348.shr.prod.phx3.secureserver.net 2.6.32-604.30.3.lve1.3.63.el6.nfsfixes.x86_64 #1 SMP Mon Oct 26 11:56:49 MST 2015 x86_64
Build Date Sep 4 2013 12:07:19
Configure Command './configure' '--with-libdir=lib' '--enable-fastcgi' '--prefix=/usr/local/php5_4' '--with-config-file-path=/web/conf' '--disable-posix' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr/bin/curl' '--with-gdbm' '--enable-exif' '--enable-ftp' '--with-gd' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/bin/libpng-config' '--enable-gd-native-ttf' '--with-gettext' '--with-mcrypt=/usr/bin/libmcrypt-config' '--with-mhash' '--with-pdo' '--with-pdo-mysql=/usr' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--with-pspell' '--enable-soap' '--enable-wddx' '--with-xsl' '--with-zlib' '--enable-mbstring' '--enable-zip' '--with-xmlrpc' '--sysconfdir=/web/httpd24/conf' '--enable-apc'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /web/conf
Loaded Configuration File /web/conf/php5.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20100412
PHP Extension 20100525
Zend Extension 220100525
Zend Extension Build API220100525,NTS
PHP Extension Build API20100525,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
Any ideas about what’s going on?
I can always change it to a regular text field and create a regex validator to make sure the it stays in the proper format - but the client isn’t super web-savvy and I’d prefer to leave the date picker in if possible.